/*
 * Created on Jun 22, 2005
 */
package org.vectrics.event;

import org.vectrics.common.db.CodedObject;
import org.vectrics.common.db.Voidable;

/**
 * @author MMoore
 */
public class EventType implements CodedObject, Voidable {
    private String code = null;

    private String description = null;

    private String handlerClass = null;

    private boolean voided = false;

    public EventType() {
        super();
    }

    /**
     * @return Returns the code.
     */
    public String getCode() {
        return this.code;
    }

    /**
     * @return Returns the description.
     */
    public String getDescription() {
        return this.description;
    }

    /**
     * @return Returns the handlerClass.
     */
    public String getHandlerClass() {
        return this.handlerClass;
    }

    /**
     * @return Returns the voided.
     */
    public boolean getVoided() {
        return this.voided;
    }

    /**
     * @param code
     *            The code to set.
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @param description
     *            The description to set.
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @param handlerClass
     *            The handlerClass to set.
     */
    public void setHandlerClass(String handlerClass) {
        this.handlerClass = handlerClass;
    }

    /**
     * @param voided
     *            The voided to set.
     */
    public void setVoided(boolean voided) {
        this.voided = voided;
    }
}
